import request from '@/utils/request'

// 查询商城订单列表
export function listDeviceinfo(query) {
  return request({
    url: '/model/deviceinfo/list',
    method: 'get',
    params: query
  })
}

// 查询商城订单详细
export function getDeviceInfo(id) {
  return request({
    url: '/model/deviceinfo/' + id,
    method: 'get'
  })
}


// 删除商城订单
export function delDeviceInfo(id) {
  return request({
    url: '/model/deviceinfo/' + id,
    method: 'delete'
  })
}
